package com.wangc.commons.dto;

import lombok.Data;

/***
 * @author Gechaoqing
 * 分页查询参数
 */
@Data
public class PageQuery {
    private int current;
    private int pageSize;

    public int getPageSize(){
        if(this.pageSize==0){
            return 15;
        }
        return  pageSize;
    }
}
